//Naming
Name Leopard 2A6
ShortName Leo2A6
//Visuals
Icon Leo2
Model mw.Leopard2A6
Texture Leopard2A6
//Third Person Camera Distance
CameraDistance 11.5
//Throttle
MaxThrottle 1.1
MaxNegativeThrottle 1.0
//Steering modifiers
TurnLeftSpeed 0.5
TurnRightSpeed 0.5
//Drag
Drag 10.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.5
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -57 -10 -27
WheelPosition 1 -57 -10 27
WheelPosition 2 57 -10 27
WheelPosition 3 57 -10 -27
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
//Inventory Slots
CargoSlots 0
ShellSlots 5
//Driver and passenger positions
Driver 0 30 0 -360 360 -9 20
RotatedDriverOffset -6 0 -11
Passengers 1
Passenger 1 0 20 0 turret -360 360 -15 40 m60 MG3
RotatedPassengerOffset 1 -10 0 13
GunOrigin 1 -5 47 -15

BarrelPosition 101 26 1 
//Secondary gun
AddGun 52 28 -2 turret m60
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 70
//Sounds
StartSound ChallengerIdle
StartSoundLength 40
EngineSound ChallengerRun
EngineSoundLength 40
ShootSoundPrimary 90mm
ShootSoundSecondary M60Shoot
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 tankTurret
AddRecipeParts core 1 advancedTankBody 1 vehicleSeat
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
//Health and collision
SetupPart core 24500 -78 -1 -36 149 22 72
SetupPart leftTrack 10000 -68 -11 -32 133 21 11
SetupPart rightTrack 10000 -68 -11 21 133 21 11
SetupPart turret 15000 -60 21 -29 112 14 58
BulletDetection 7
ModelScale 0.77

RotateWheels true